<?

session_start();

include_once("../../Misc.php");
include_once("../../classCol/UID.php");
include_once("../../classCol/classOracleDb.php");
include_once("../models/fetchers.php");
include_once("../models/handlers.php");

$srcDbMstMethod  = "MST_METHOD";

$COracle = new oracleDb;
$COracle->init($_SESSION["ORCL"],
               $_SESSION["OPASS"],
               $_SESSION["SID"],
               _NO_COMMENT);

$isDbg  = _IS_SILENT;

if ($COracle->connect()) {

  /**
  * Init the selected Method
  *
  */
  initMethod($COracle,
             $srcDbMstMethod,
             $_POST["method"]);

  /**
  * If everything is good
  * then nothing to shows or return to ajax call
  *
  */

  $COracle->commit();
  $COracle->dc();
}else{

  /**
  * Oracle connection error
  *
  */
  echo  "****";
}
?>